#include "MpiDataType.h"

using namespace SG::Algebra;

//=============================================================================
// MpiDataType

// Initialize the static mpi_type for the specializations of MPITypeMap:
const MPI_Datatype MpiDataType<int>::mpi_type   = MPI_INT;
const MPI_Datatype MpiDataType<float>::mpi_type = MPI_FLOAT;
const MPI_Datatype MpiDataType<double>::mpi_type = MPI_DOUBLE;